import axios from 'axios'

// let api = 'http://39.96.42.170:666'
let api = 'http://127.0.0.1:666'

export default {
  async getGoodType() {
    return await axios.get(`${api}/client/goodtype/all`)
  },
  async getOneTypeGood(params) {
    return await axios.post(`${api}/client/good/all`, params)
  },
  // 获取超链接
  async getSuperLink() {
    return await axios.get(`${api}/client/superlink/all`)
  },
}
